#pragma once
#include <iostream>
using namespace std;

class func
{
public:
	func()
	{
		cout << "func()" << endl;
	}

	~func()
	{
		cout << "~func()" << endl;
	}
};

class test : public func
{
public:
	test()
	{
		cout << "test()" << endl;
	}

	~test()
	{
		cout << "~test()" << endl;
	}
};
